{extend name="public:m_base" /}
{block name='main'}
<div class="ShareAnyContainer" style="font-size: 14px;">
    当前位置：<a href="{:url('/')}" title="首页">首页</a>&nbsp;&nbsp;/&nbsp;&nbsp;<a
        href="{:url('/shop/artwork/cart/')}" title="购物车">购物车</a>
</div>
<div class="ShareAnySeparate"></div>
<div class="ShareAnySeparate"></div>
<div class="ShareAnySeparate"></div>
<div class="ShareAnySeparate"></div>
<div class="ShareAnySeparate"></div>
<div class="ShareAnySeparate"></div>
<div class="ShareAnyContainer">
    <div class="work_parent">
        <div class="live">
            {volist name="$datalist" id="artwork"}
                        <a
                            href="{:url('/')}shop/artwork/detail/id/{$artwork['id']}/"><img
                            src="/{$artwork['img'][0]}" style="width: 100%; display: block;"></a>
                        <div style="text-align: center; font-size: 20px; font-weight: bold;">
                            {$artwork['title']}
                        </div>
                        <br>

                        <div>{$artwork['about']}</div>
            <p style="    padding: 10px;">单价￥ <b style="color:red">{$artwork['price']}</b>
                            <a href="javascript:;" style="float: right;" onclick="delCart({$artwork.id})">删除</a>
            </p>
                </tr>
            {/volist}
        </div>

    </div>

</div>
<div class="ShareAnySeparate"></div>
<div class="ShareAnyContainer" style="font-size: 20px; text-align: right;">
    总价：￥ {$count}

</div>
<div class="ShareAnySeparate"></div>
<div class="ShareAnyContainer" style="text-align: right;">
    <a href="javascript:;"><img
            src="__MODULE_IMG__/buy.png"></a>

</div>
{/block}
{block name='footer'}
{/block}